package sqlite.domain;


import sqlite.annotation.Column;
import sqlite.annotation.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: 甘竞存
 * Date: 14-11-10
 * Time: 上午10:34
 * 对应百胜中间库的Order_rt_info表
 */
@Table("order_rt_info")
public class OrderShippingInfo implements Serializable {
    @Column("order_no")
    private String orderNo;          //订单号
    @Column("company")
    private String company ;         //承运商
    @Column("out_sid")
    private String outSid;           //物流外部id
    @Column("express_no")
    private String expressNo;       //快递单号
    @Column("Shipping_time")
    private Date shippingTime ;   //发货时间
    @Column("E_CREATE_TIME")
    private Date eCreateTime ;      //ecm创建数据
    @Column("F_UPDATE_TIME")
    private Date fUpdateTime ;      //bserp抽取时间
    @Column("BS_FLAG")
    private String flag ;            //标志位 null:传输中,X:ecm可取数据,Y:ecm取完数据

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public Date getfUpdateTime() {
        return fUpdateTime;
    }

    public void setfUpdateTime(Date fUpdateTime) {
        this.fUpdateTime = fUpdateTime;
    }

    public Date geteCreateTime() {
        return eCreateTime;
    }

    public void seteCreateTime(Date eCreateTime) {
        this.eCreateTime = eCreateTime;
    }

    public Date getShippingTime() {
        return shippingTime;
    }

    public void setShippingTime(Date shippingTime) {
        this.shippingTime = shippingTime;
    }

    public String getOutSid() {
        return outSid;
    }

    public void setOutSid(String outSid) {
        this.outSid = outSid;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    @Override
    public String toString() {
        return "OrderShippingInfo{" +
                "orderNo='" + orderNo + '\'' +
                ", company='" + company + '\'' +
                ", outSid='" + outSid + '\'' +
                ", shippingTime='" + shippingTime + '\'' +
                ", eCreateTime=" + eCreateTime +
                ", fUpdateTime=" + fUpdateTime +
                ", flag='" + flag + '\'' +
                '}';
    }
}
